Skip to contentSkip to conversation

Rx480 doesn't output properly onto z27q at 5120x2880

Bug 99801 [email protected] 1 participant 17 messages Feb 14, 2017 – Nov 19, 2019 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]/

#1 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=99801

Michel Dänzer <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

          Component|Driver/AMDgpu               |DRM/AMDgpu
            Product|xorg                        |DRI
                 CC|                            |[email protected]
         QA Contact|[email protected]       |
           Assignee|[email protected] |[email protected]
                   |                            |.org

--- Comment #11 from Michel Dänzer <[email protected]> --- Anyway, this is likely a kernel driver issue.

Harry / DC folks, can you take a look?

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#2 lore raw
In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=99801

--- Comment #12 from Harry Wentland <[email protected]> --- We're currently debugging an issue that looks very similar, if not the same. It's also with a 5k display with two DP input but on a different platform. The display pipe driving one half of the display is underflowing. Hope we'll find a fix soon.

Not sure about the issue in 4k mode but there's a good chance the display pipe is underflowing for the same reason as the problem in 5k mode.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#3 lore raw
In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=99801

--- Comment #13 from Matthew Treinish <[email protected]> --- I was wondering if there was any update on this? I'm still seeing the same issue on a 4.11.7 kernel. I'm willing to test out any patches or provide any additional debug info that is needed.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#4 lore raw
In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=99801

--- Comment #14 from Matthew Treinish <[email protected]> --- Just for some more information I gave the current tip of the amd-staging-4.11 branch on https://cgit.freedesktop.org/~agd5f/linux/ (commit 308514e6861e) a try and it was still having the same problems driving my monitor at 5120x2880.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#5 lore raw
In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=99801

--- Comment #15 from Matthew Treinish <[email protected]> ---
I tested the most recent kernel from the drm-next-4.15-dc branch found at:
https://cgit.freedesktop.org/~agd5f/linux/log/?h=drm-next-4.15-dc (commit b175d392cfb28a9d260904bbb330917efe039331 ) The problem with my 5K display still persists. Has there been any update on this issue?

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#6 lore raw
In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=99801

[email protected] <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #16 from [email protected] <[email protected]> --- The issue seems to be fixed, please try verifying the following commit:

'acea3103ed43d4dddca284297229b96b4457013d'
Author: Leo (Sunpeng) Li <[email protected]>
dm/amdgpu: Do not release DC state on S3 resume

The issue was caused by improper synchronization of the panels of 5K display. It also seems like issue is more display specific because the issue was reproducing very inconsistently.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

author Acked-by Alex Deucher
#7 lore raw
In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=99801

--- Comment #17 from Harry Wentland <[email protected]> --- Mikita's patch is from our internal tree. On the kernel you'd be looking for this one:

commit cf543d5b52d4d2a425649d21f8a2f046c0e08cbf

Author: Rex Zhu <[email protected]>
Date:   Fri Oct 20 18:37:04 2017 +0800

Revert "drm/amd/display: Match actual state during S3 resume."

This reverts commit 7ae4acd21e9e264afb079e23d43bcf2238c7dbea.

fix s3 hang issue.

Change-Id Id30da9b1fef9bc32e5d211da7a166dffc1246a55

Not sure how this would fix the problem, though. We'll give it another spin on amd-staging-drm-next.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#8 lore raw
In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=99801

--- Comment #18 from Harry Wentland <[email protected]> --- Can you retest this on either one of the following trees?

Alex's amd-staging-drm-next tree
https://cgit.freedesktop.org/~agd5f/linux/log/?h=amd-staging-drm-next

Dave's drm-next-amd-dc-staging
https://cgit.freedesktop.org/~airlied/linux/log/drivers/gpu/drm/amd/amdgpu?h=drm-next-amd-dc-staging

We believe this issue has been fixed but had trouble identifying the fix. We only had a Dell 5k display to test with. There's a chance this is monitor specific.

Please build with CONFIG_DRM_AMD_DC_PRE_VEGA or pass the amdgpu.dc=1 module option and ensure dc is loaded by checking 'dmesg | grep Display'. You should get the following:

[drm] Display Core initialized!

If the issue still reproduces we might have to give this another try or see if we can find that HP z27q panel.

Thanks for your help on this.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#9 lore raw
In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=99801

Matthew Treinish <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

 Attachment #129571|0                           |1
        is obsolete|                            |
 Attachment #129575|0                           |1
        is obsolete|                            |

--- Comment #19 from Matthew Treinish <[email protected]> --- Created attachment 135442
--> https://bugs.freedesktop.org/attachment.cgi?id=135442&action=edit
dmesg output (grepped for 'drm') from kernel running eee12cc2150b

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#10 lore raw
In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=99801

Matthew Treinish <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |---

--- Comment #20 from Matthew Treinish <[email protected]> --- Ok, I built a kernel from Alex's amd-staging-drm-next tree
https://cgit.freedesktop.org/~agd5f/linux/log/?h=amd-staging-drm-next the head of the tree was:

eee12cc2150b932ee52ccf89de611a7ba030eb90 drm/amdgpu/virt: remove redundant variable pf2vf_ver

and I confirmed that dc is loaded by checking for: [ 10.330032] [drm] Display
Core initialized!
in dmesg. But the problem still persists. Although instead of 4 segments in each corner like before, there are only 2 now.

I've attached the dmesg output (grepped for drm) and I can provide any additional debug information needed. Just let me know and I'll gladly do what I can to help.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#11 lore raw
In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=99801

[email protected] changed:

What |Removed |Added
----------------------------------------------------------------------------

           See Also|                            |https://bugs.freedesktop.or
                   |                            |g/show_bug.cgi?id=105651
Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#12 lore raw
In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=99801

--- Comment #21 from Jean-Yves Avenard <[email protected]> --- Adding some likely unhelpful info.
But I've had similar (though not the same) problem since I got this screen. However, unlike most comments, I do not get two steady, mis-aligned image on each half of the screen.

The effect is an enormous flickering, mostly on the left half, with colour cycling. The screen internal menu can no longer be displayed.

Any long exposure to that mode would cause seizure to any healthy person.

The only work around to get out of that mode is to disable one of the screen and set the remaining half to 2560x1440 resolution only.

Typically, after entering this corrupted mode, the screen will flicker continuously sometimes for hours. One day, I even thought I broke the screen as it was still flickering one day later and got HP to replace it. The new model did that same thing (actually all 4 HPz27q I got, as it took a while to get one without stuck pixels)

I get the same effect with both a mac pro 2013 (dual AMD D500 aka AMD 7800) or with a PC with an AMD Vega 64.

I'll take a picture of what it looks like and upload.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#13 lore raw
In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=99801

--- Comment #22 from Jean-Yves Avenard <[email protected]> --- Welcome to Ubuntu 17.10 (GNU/Linux 4.15.12-041512-generic x86_64)

* Documentation: https://help.ubuntu.com

jyavenard@jya7980ex:~$ xrandr
Screen 0: minimum 320 x 200, current 7680 x 2880, maximum 16384 x 16384
DisplayPort-0 connected primary 2560x2880+0+0 (normal left inverted right x
axis y axis) 597mm x 336mm
   2560x2880     59.98*+
   2560x1440     59.95 +
   3840x2160     60.00  
   1920x1200     59.95  
   1920x1080     60.00  
   1600x1200     59.95  
   1680x1050     59.95  
   1600x900      60.00  
   1280x1024     59.95  
   1440x900      59.95  
   1366x768      59.99  
   1280x800      59.95  
   1280x720      60.00    59.94  
   1024x768      60.00  
   800x600       60.32  
   640x480       60.00    59.94  
DisplayPort-1 connected 2560x2880+2560+0 (normal left inverted right x axis y
axis) 299mm x 336mm
   2560x2880     59.98*+
   1920x1200     59.98  
   1920x1080     59.98  
   1600x1200     59.98  
   1680x1050     59.98  
   1280x1024     59.98  
   1440x900      59.98  
   1280x800      59.98  
   1280x720      59.98  
   1024x768      59.98  
   800x600       59.98  
   640x480       59.98  
DisplayPort-2 connected 2560x1440+5120+0 (normal left inverted right x axis y
axis) 597mm x 336mm
   2560x1440     59.95*+
   1920x1200     59.95  
   1920x1080     59.95  
   1600x1200     59.95  
   1680x1050     59.95  
   1280x1024     59.95  
   1440x900      59.95  
   1280x800      59.95  
   1280x720      59.86  
   1024x768      59.95  
   800x600       59.95  
   640x480       59.95  
HDMI-A-0 disconnected (normal left inverted right x axis y axis)
jyavenard@jya7980ex:~$
Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#14 lore raw
In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=99801

--- Comment #23 from Jean-Yves Avenard <[email protected]> --- Created attachment 138353
--> https://bugs.freedesktop.org/attachment.cgi?id=138353&action=edit
Screen capture, right side is continuously scrolling from right to left

Using kernel 4.15.12

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#15 lore raw
In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=99801

--- Comment #24 from Jean-Yves Avenard <[email protected]> ---

$ dmesg | grep Display
[   34.895577] usb 1-1.4: Product: Display Audio
[   34.911627] input: Apple Inc. Display Audio as
/devices/pci0000:20/0000:20:00.0/0000:21:00.0/0000:22:04.0/0000:44:00.0/0000:45:05.0/0000:48:00.0/0000:49:00.0/0000:4a:00.0/0000:4b:03.0/0000:4c:00.2/usb1/1-1/1-1.4/1-1.4:1.3/0003:05AC:1107.0001/input/input3
[   34.911680] hid-generic 0003:05AC:1107.0001: input,hidraw0: USB HID v1.11
Device [Apple Inc. Display Audio] on usb-0000:4c:00.2-1.4/input3
[   35.013532] [drm] Display Core initialized!
[   35.101815] usb 1-1.5: Product: FaceTime HD Camera (Display)
[   35.291969] usb 1-1.7: Product: Apple Thunderbolt Display
[   35.293635] hid-generic 0003:05AC:9227.0002: hiddev0,hidraw1: USB HID v1.11
Device [Apple Inc. Apple Thunderbolt Display] on usb-0000:4c:00.2-1.7/input0
[   38.170984] uvcvideo: Found UVC 1.00 device FaceTime HD Camera (Display)
(05ac:1112)
[   38.177911] input: FaceTime HD Camera (Display): F as
/devices/pci0000:20/0000:20:00.0/0000:21:00.0/0000:22:04.0/0000:44:00.0/0000:45:05.0/0000:48:00.0/0000:49:00.0/0000:4a:00.0/0000:4b:03.0/0000:4c:00.2/usb1/1-1/1-1.5/1-1.5:1.0/input/input19
Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#16 lore raw
In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=99801

--- Comment #25 from Matthew Treinish <[email protected]> --- (In reply to Jean-Yves Avenard from comment #21)

Quoted 19 lines

Adding some likely unhelpful info.
But I've had similar (though not the same) problem since I got this screen. However, unlike most comments, I do not get two steady, mis-aligned image on each half of the screen.

The effect is an enormous flickering, mostly on the left half, with colour cycling. The screen internal menu can no longer be displayed.

Any long exposure to that mode would cause seizure to any healthy person.

The only work around to get out of that mode is to disable one of the screen and set the remaining half to 2560x1440 resolution only.

Typically, after entering this corrupted mode, the screen will flicker continuously sometimes for hours. One day, I even thought I broke the screen as it was still flickering one day later and got HP to replace it. The new model did that same thing (actually all 4 HPz27q I got, as it took a while to get one without stuck pixels)

Quoted 4 lines

I get the same effect with both a mac pro 2013 (dual AMD D500 aka AMD 7800) or with a PC with an AMD Vega 64.

I'll take a picture of what it looks like and upload.

FWIW, this description is more or less exactly what I'm experiencing on my display as well. (although I never tried the screen internal menu piece) I probably just didn't do a good job taking a picture and/or describing it.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#17 lore raw
In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=99801

Martin Peres <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

         Resolution|---                         |MOVED
             Status|REOPENED                    |RESOLVED

--- Comment #26 from Martin Peres <[email protected]> --- -- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/drm/amd/issues/134.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel